package com.eastfair.imaster.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.core.base.R;
import com.eastfair.imaster.dto.AppointmentDTO;
import com.eastfair.imaster.entity.Appointment;

/**
 * <p>
 * 业务接口
 * 邀约
 * </p>
 *
 * @author liuxiaobai
 * @date 2021-09-02
 */
public interface AppointmentService extends SuperService<Appointment> {

    /**
     * 批量邀约
     * @param appointmentDTO
     * @return
     */
    R<Boolean> launchBatch(AppointmentDTO appointmentDTO);

    /**
     * 通过/拒绝
     * @param appointmentDTO
     * @return
     */
    Boolean updateStatus(AppointmentDTO appointmentDTO);
}
